﻿<%@ Page Title="" Language="C#" MasterPageFile="~/MainMasterPage.master" AutoEventWireup="true"
    CodeFile="ScoresManagerment.aspx.cs" Inherits="Modeling_Sub_Pages_NewsPage" %>

<asp:Content ID="Content1" ContentPlaceHolderID="head" runat="Server">
    <style type="text/css">
        #main
        {
            min-width: 1150px;
        }
        #center
        {
            margin-top: 15px;
        }
        #left
        {
            margin-top: 15px;
        }
        .toCenter
        {
            margin-left: auto;
            margin-right: auto;
        }
        .linkNotchange:visited
        {
            color: #0000CC;
        }
    </style>
</asp:Content>
<asp:Content ID="Content2" ContentPlaceHolderID="Content" runat="Server">
    <div id="left">
        <table>
            <tr>
                <td>
                    <asp:HyperLink ID="HyperLink4" runat="server" NavigateUrl="~/Staff/AdmissionManager.aspx"
                        CssClass="LinkStyle1">Admission Managerment</asp:HyperLink>
                </td>
            </tr>
            <tr>
                <td>
                    <asp:HyperLink ID="HyperLink6" runat="server" NavigateUrl="~/Staff/StudentManagerment.aspx"
                        CssClass="LinkStyle1">Student Managerment</asp:HyperLink>
                </td>
            </tr>
            <tr>
                <td id="activeTD">
                    <asp:HyperLink ID="HyperLink5" runat="server" NavigateUrl="~/Staff/ScoresManagerment.aspx"
                        CssClass="activeLink">Scores Managerment</asp:HyperLink>
                </td>
            </tr>
            <tr>
                <td>
                    <asp:HyperLink ID="HyperLink1" runat="server" NavigateUrl="~/Staff/EventManagerment.aspx"
                        CssClass="LinkStyle1">Events Managerment</asp:HyperLink>
                </td>
            </tr>
            <tr>
                <td>
                    <asp:HyperLink ID="HyperLink2" runat="server" NavigateUrl="~/Staff/NewsManagerment.aspx"
                        CssClass="LinkStyle1">News Managerment</asp:HyperLink>
                </td>
            </tr>
            <tr>
                <td>
                    <asp:HyperLink ID="HyperLink3" runat="server" NavigateUrl="~/Staff/CoursesManagerment.aspx"
                        CssClass="LinkStyle1">Courses Managerment</asp:HyperLink>
                </td>
            </tr>
            <tr>
                <td>
                    <asp:HyperLink ID="HyperLink7" runat="server" NavigateUrl="~/Staff/CoursesRegisManager.aspx"
                        CssClass="LinkStyle1">Course Regis Manager...</asp:HyperLink>
                </td>
            </tr>
            <tr>
                <td>
                    <asp:HyperLink ID="HyperLink9" runat="server" NavigateUrl="~/Staff/FeedbackManager.aspx"
                        CssClass="LinkStyle1">Feedback Managerment</asp:HyperLink>
                </td>
            </tr>
            <tr>
                <td>
                    <asp:HyperLink ID="HyperLink8" runat="server" NavigateUrl="~/Staff/ChangePassword.aspx"
                        CssClass="LinkStyle1">Change Password</asp:HyperLink>
                </td>
            </tr>
        </table>
    </div>
    <div id="center">
        <table width="100%">
            <tr>
                <td align="center">
                    <asp:Label ID="Label1" runat="server" Text="Scores Managerment" Font-Size="20pt"
                        ForeColor="#990033"></asp:Label>
                </td>
            </tr>
            <tr>
                <td>
                    &nbsp;
                </td>
            </tr>
            <tr>
                <td align="center">
                    <table>
                        <tr>
                            <td>
                                <strong>Subject: </strong>
                            </td>
                            <td>
                                <asp:DropDownList ID="ddlSubject" runat="server" AutoPostBack="True" onselectedindexchanged="Button1_Click">
                                </asp:DropDownList>
                            </td>
                        </tr>
                        <tr>
                            <td>
                                <strong>Teacher: </strong>
                            </td>
                            <td>
                                <asp:DropDownList ID="ddlTeacher" runat="server" AutoPostBack="True" 
                                    onselectedindexchanged="Button1_Click">
                                </asp:DropDownList>
                            </td>
                        </tr>
                    </table>
                    <asp:Label ID="Label4" runat="server" Text="Name: " Font-Bold="True"></asp:Label>
                    <asp:TextBox ID="txtTitle" runat="server" Width="250"></asp:TextBox>
                    <asp:Button ID="Button1" runat="server" Text="Search" onclick="Button1_Click" />
                </td>
            </tr>
            <tr>
                <td>
                    <asp:GridView ID="GridView1" runat="server" EnableModelValidation="True" CssClass="toCenter"
                        BackColor="LightGoldenrodYellow" BorderColor="Tan" BorderWidth="1px" CellPadding="2"
                        ForeColor="Black" GridLines="Both" AllowPaging="True" PageSize="20" OnPageIndexChanging="GridView1_PageIndexChanging">
                        <Columns>
                            <asp:HyperLinkField DataNavigateUrlFields="ID" DataNavigateUrlFormatString="ListStudent.aspx?id={0}"
                                Text="View" ControlStyle-CssClass="linkNotchange" />
                        </Columns>
                        <PagerSettings Mode="NextPrevious" NextPageText="Next►" PreviousPageText="◄Previous" />
                    </asp:GridView>
                </td>
            </tr>
        </table>
    </div>
</asp:Content>
